package com.jy.api.misc.dto;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.UUID;

@Getter
@Setter
public class ShuJuJPZDto  {
    private Integer shuLiang;
    private String hospitalId;
    private String hospitalName;
    private List<ShuJuJPZDto> children;
    @Getter(AccessLevel.NONE)
    private String rowId;

    public String getRowId() {
        return UUID.randomUUID().toString().replaceAll("-","");
    }
}
